/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Live-Video
 * 直播管理API
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Live.Apis
{

    /// <summary>
    ///  查询URL播放排行
    /// </summary>
    public class DescribeUrlRankingRequest : JdcloudRequest
    {
        ///<summary>
        /// 播放域名
        ///Required:true
        ///</summary>
        [Required]
        public   string DomainName{ get; set; }
        ///<summary>
        /// 查询Top数量，默认20，即返回Top20的数据
        ///</summary>
        public   int? Size{ get; set; }
        ///<summary>
        /// 排行依据字段，取值：[&quot;pv&quot;, &quot;flow&quot;, &quot;bandwidth&quot;]，默认pv
        /// - pv 播放次数
        /// - flow 流量
        /// - bandwidth 带宽
        /// 
        ///</summary>
        public   string Rankfield{ get; set; }
        ///<summary>
        /// 起始时间
        /// - UTC时间
        ///   格式:yyyy-MM-dd&#39;T&#39;HH:mm:ss&#39;Z&#39;
        ///   示例:2018-10-21T10:00:00Z
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   string StartTime{ get; set; }
        ///<summary>
        /// 结束时间:
        /// - UTC时间
        ///   格式:yyyy-MM-dd&#39;T&#39;HH:mm:ss&#39;Z&#39;
        ///   示例:2018-10-21T10:00:00Z
        /// - 为空,默认为当前时间
        /// 
        ///</summary>
        public   string EndTime{ get; set; }
    }
}